//
//  NSDate+Formater.m
//  xixi
//
//  Created by 罗壮燊 on 2018/4/25.
//  Copyright © 2018年 xmrk3. All rights reserved.
//

#import "NSDate+Formater.h"

@implementation NSDate (Formater)

- (NSString *)stringWithFotmaterString:(NSString *)str
{
    NSDateFormatter *fmt = [[NSDateFormatter alloc] init];
    fmt.dateFormat = str;
    return [fmt stringFromDate:self];
}

@end
